//
//  StarHomeVideoCell.m
//  LiveStar
//
//  Created by 漪珊 on 2017/4/13.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "StarHomeVideoCell.h"
#import "VideoListModel.h"
@implementation StarHomeVideoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backImgConstraints.constant = kSCREEN_WIDTH;
}

- (void)setVideoModel:(VideoListModel *)videoModel {
    _videoModel = videoModel;
    [self.starImgView sd_setImageWithURL:[NSURL URLWithString:videoModel.u_avatar] placeholderImage:kPlACE_ICON];
    [self.backImageView sd_setImageWithURL:[NSURL URLWithString:videoModel.s_image] placeholderImage:kPLACE_MID];
    self.starName.text = videoModel.s_name;
    self.watchNums.text = KString(videoModel.l_viewing);
}
@end
